<div id="banner">
    <div class="red">
        [$result.msg]
    </div>
    <div class="left">
        <form action="/admin/admin_banner/savebanner" name="savebanner" id="savebanner" method="post">
        	<include: file="banner_info.html">
        </form>
    </div>
</div>
<script>
    $(function(){
        $("#upload_file").change(function(){
            $("#addbanner").ajaxSubmit({
                dataType: 'html',
                success: function(data){
                    $("#savebanner").html(data);
                }
            });
            return false;
        });
        $(":submit").live('click', function(e){
            $.ajaxSubmit($(this).parents('form'), function(data){
                $.showPageInfo("#page_info", data.info, 500, true);
            });
            return false;
        });
    });
</script>
